package com.libc.yygh.hosp.core.servlet;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * *
 * Created with Description:
 *
 * @fileRelativePath: MyAppServlet.java
 * @Date: Created on 2022/4/12  16:01  <br>
 * @author: LiBencheng <br>
 * @version: 1.0 <br>
 */
public class MyAppServlet extends HttpServlet
{

    /** @date 2021年5月2日 */
    private static final long serialVersionUID = 8291270887390447022L;

    @Override
    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
    {

        doPost(req, resp);
    }

    @Override
    protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
    {
        resp.getWriter().write("原生的 Hello Myservlet Spring Boot!!");
    }
}
